﻿<Window x:Class="MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Behaviors="clr-namespace:EasyBamlAddin.Tools.Behaviors"
    Title="MainWindow" Height="350" Width="525">
    <Window.Resources>
        <Style TargetType="TextBlock" x:Key="tb1">
            <Setter Property="Text" Value="Must be localizable"/>
        </Style>
        <Style TargetType="{x:Type TextBlock}" x:Key="tb2">
            <Setter Property="Text">
                <Setter.Value>Must be localizable2</Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="tb3" BasedOn="{StaticResource tb2}">
            <Setter Property="Text">
                <Setter.Value>Must be localizable3</Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="tb4">
            <Setter Property="Text">
                <Setter.Value>Must be localizable4</Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="tb5">
            <Setter>
                <Setter.Property>Text</Setter.Property>
                <Setter.Value>Must be localizable5</Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="tb6">
            <Style.Setters>
                <Setter Property="Text" Value="Must be localizable6"/>
            </Style.Setters>
        </Style>
    </Window.Resources>
    <Grid HorizontalAlignment="Stretch" x:Uid="UidCanBeRemoved">
        <Grid.VerticalAlignment>Stretch</Grid.VerticalAlignment>
        <Behaviors:ListBoxMultipleSelectionBehavior.Attach>True</Behaviors:ListBoxMultipleSelectionBehavior.Attach>

        <TextBlock Text="Text block attr" Behaviors:ListBoxMultipleSelectionBehavior.Attach="True"/>
        <TextBlock Margin="0,20,0,0" Style="{StaticResource tb4}">
            Text block content
        </TextBlock>
    </Grid>
</Window>
